package force;

import rigidbody.SimulationObject;

/**
 * The Force class represents features common to all forces.
 *
 * @author Jeran Fox
 * @author Matthew Cong
 * @author Teddy Ni
 * @author Yunfeng Bai
 */
public abstract class Force
{
    /** World time from when force should begin to act. */
    private int startTime;

    /** World time from when force should stop to act. */
    private int endTime;
    
    public abstract void apply(double t);

    public int getStartTime()
    {
        return startTime;
    }

    public void setStartTime(int startTime_)
    {
        startTime = startTime_;
    }

    public int getEndTime()
    {
        return endTime;
    }

    public void setEndTime(int endTime_)
    {
        endTime = endTime_;
    }
}
